package com.example.aidldemo

import android.graphics.Rect
import android.view.View
import androidx.recyclerview.widget.RecyclerView

/**
 *
 * @author Mx
 * @date 2024/03/19
 */
class HItemDecoration : RecyclerView.ItemDecoration() {
    private val width = 10
    override fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State) {
        outRect.set(width, 0, width, 0)
    }
}